package com.wind.trademark.base.vo;

import java.util.ArrayList;
import java.util.List;

public class NodeVo {
	private String id;
	private boolean allowChildren;
	private boolean allowDrag;
	private boolean allowDrop;
	private Boolean checked=false; // 无论设为真还是假都会在前面有个选择框,默认未设置
	private String cls;
	private boolean disabled;
	private boolean draggable;
	private boolean expandable;
	private boolean expanded;
	private boolean leaf;
	private String href; // 超链接
	private String hrefTarget;
	private String icon; // 图标
	private String iconCls;
	private boolean isTarget; // 是拖曳的目标?
	private String qtip; // 提示
	private String qtipCfg; //
	private boolean singleClickExpand; // 单击展开
	private String text; // 文本内容
	
	private List<NodeVo> children=new ArrayList<NodeVo>();

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public boolean isAllowChildren() {
		return allowChildren;
	}
	public void setAllowChildren(boolean allowChildren) {
		this.allowChildren = allowChildren;
	}
	public boolean isAllowDrag() {
		return allowDrag;
	}
	public void setAllowDrag(boolean allowDrag) {
		this.allowDrag = allowDrag;
	}
	public boolean isAllowDrop() {
		return allowDrop;
	}
	public void setAllowDrop(boolean allowDrop) {
		this.allowDrop = allowDrop;
	}
	public Boolean isChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	public String getCls() {
		return cls;
	}
	public void setCls(String cls) {
		this.cls = cls;
	}
	public boolean isDisabled() {
		return disabled;
	}
	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
	}
	public boolean isDraggable() {
		return draggable;
	}
	public void setDraggable(boolean draggable) {
		this.draggable = draggable;
	}
	public boolean isExpandable() {
		return expandable;
	}
	public void setExpandable(boolean expandable) {
		this.expandable = expandable;
	}
	public boolean isExpanded() {
		return expanded;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public String getHrefTarget() {
		return hrefTarget;
	}
	public void setHrefTarget(String hrefTarget) {
		this.hrefTarget = hrefTarget;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public boolean isTarget() {
		return isTarget;
	}
	public void setTarget(boolean isTarget) {
		this.isTarget = isTarget;
	}
	public String getQtip() {
		return qtip;
	}
	public void setQtip(String qtip) {
		this.qtip = qtip;
	}
	public String getQtipCfg() {
		return qtipCfg;
	}
	public void setQtipCfg(String qtipCfg) {
		this.qtipCfg = qtipCfg;
	}
	public boolean isSingleClickExpand() {
		return singleClickExpand;
	}
	public void setSingleClickExpand(boolean singleClickExpand) {
		this.singleClickExpand = singleClickExpand;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public List<NodeVo> getChildren() {
		return children;
	}
	public void setChildren(List<NodeVo> children) {
		this.children = children;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
}
